<?php

namespace LowCode\Core;

use Illuminate\Database\Eloquent\Model as BaseModel;

class Model extends BaseModel
{
    public function __construct()
    {
        if (!isRunInLaravel()){
            $manager = new DM();
            self::setConnectionResolver($manager->getDatabaseManager());
        }
        parent::__construct();
    }

    protected function grid()
    {

    }
}
